package com.book.business.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.book.business.entity.BookSell;
import com.book.business.entity.BookSell;
import com.book.common.entity.QueryRequest;

import java.util.List;

/**
 * @Author: 盛佳帅
 * @Description: 20173953
 */

public interface BookSellService extends IService<BookSell> {
    /**
     * @Description:查所有
     */
    List<BookSell> findBookSell(BookSell bookSell);

    /**
     * @Description:分页
     */
    IPage<BookSell> pageBookSell(QueryRequest request, BookSell bookSell);

    /**
     * @Description:下架信息
     */
    IPage<BookSell> pageBookSell(QueryRequest request, BookSell bookSell, String status);

    /**
     * @Description:新增
     */
    void addBookSell(BookSell bookSell);

    /**
     * @Description:修改
     */
    void updateBookSell(BookSell bookSell);

    /**
     * @Description:复选删除
     */
    void deleteBookSell(String[] bookSell);
}
